package sprites;

import java.awt.Point;

/**
 *
 * @author Carlos Moya Martinez
 */
public abstract class Player extends PlayableElement {
    protected int yMovementLimit;
    
    public Player(Point pantalla) {
        super(pantalla);
    }

    public Player(int vides, boolean enemic, Point pantalla) {
        super(vides, enemic, pantalla);
    }

    public Player(int yMovementLimit, int vides, boolean enemic, Point pantalla) {
        super(vides, enemic, pantalla);
        this.yMovementLimit = yMovementLimit;
    }
    
    public int getyMovementLimit() {
        return yMovementLimit;
    }

    public void setyMovementLimit(int yMovementLimit) {
        this.yMovementLimit = yMovementLimit;
    }

    public abstract void shoot();
}
